package com.unhz.generator.pojo;

import java.io.Serializable;
import java.util.Date;

/**
 * @Author: 曹显贵
 * @Description: 管理员
 * @Date: Created in 下午 6:40 2018/1/23 0023
 * @Modified By:
 */
public class SysUser implements Serializable{

    /**序号**/
    private Integer id;

    /**管理员名称**/
    private String userName;

    /**管理员头像**/
    private String userImg;

    /**管理员token**/
    private String userPhone;

    /**管理员手机号**/
    private String userToken;

    /**管理员密码**/
    private String userPassword;

    /**管理员性别**/
    private String userSex;

    /**年龄**/
    private Integer userAge;

    /**是否删除:0.否 1.是**/
    private String isDelete;

    /**修改时间**/
    private Date updateTime;

    /**创建时间**/
    private Date createTime;

    /**角色ID**/
    private Integer roleId;

    /**用户状态:0启用;1:禁用**/
    private Integer userStatus;

    /**角色名**/
    private String roleName;

    public SysUser(){

    }

    public SysUser(Integer id, String userName, String userImg, String userPhone, String userToken, String userPassword, String userSex, Integer userAge, String isDelete, Date updateTime, Date createTime, Integer roleId, Integer userStatus, String roleName) {
        this.id = id;
        this.userName = userName;
        this.userImg = userImg;
        this.userPhone = userPhone;
        this.userToken = userToken;
        this.userPassword = userPassword;
        this.userSex = userSex;
        this.userAge = userAge;
        this.isDelete = isDelete;
        this.updateTime = updateTime;
        this.createTime = createTime;
        this.roleId = roleId;
        this.userStatus = userStatus;
        this.roleName = roleName;
    }

    public String getUserToken() {
        return userToken;
    }

    public void setUserToken(String userToken) {
        this.userToken = userToken;
    }

    public String getUserImg() {
        return userImg;
    }

    public void setUserImg(String userImg) {
        this.userImg = userImg;
    }
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName == null ? null : userName.trim();
    }

    public String getUserPhone() {
        return userPhone;
    }

    public void setUserPhone(String userPhone) {
        this.userPhone = userPhone == null ? null : userPhone.trim();
    }

    public String getUserPassword() {
        return userPassword;
    }

    public void setUserPassword(String userPassword) {
        this.userPassword = userPassword == null ? null : userPassword.trim();
    }

    public String getUserSex() {
        return userSex;
    }

    public void setUserSex(String userSex) {
        this.userSex = userSex == null ? null : userSex.trim();
    }

    public Integer getUserAge() {
        return userAge;
    }

    public void setUserAge(Integer userAge) {
        this.userAge = userAge;
    }

    public String getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(String isDelete) {
        this.isDelete = isDelete == null ? null : isDelete.trim();
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getRoleId() {
        return roleId;
    }

    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }

    public Integer getUserStatus() {
        return userStatus;
    }

    public void setUserStatus(Integer userStatus) {
        this.userStatus = userStatus;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

}